import {defineStore} from 'pinia'
import {ref} from 'vue'

export const useLayoutStore = defineStore('layout', () => {
  const active = ref(0)

  const setActive = (index: number) => {
    active.value = index
  }

  return {
    active,
    setActive
  }
})
